#ifndef __UART_TEST_H__
#define __UART_TEST_H__
#include "uart_test.h"
#include <rtthread.h>
#include <rtdevice.h>

typedef void (*recv)(uint8_t cmd,const uint8_t *buffer,uint16_t length);
int serial_send_msg(uint8_t cmd,const uint8_t *buffer,uint16_t length);
int serial_recv_msg_func_register(recv a);
int uart_sample_init(const char * uart_name);
#endif

